import * as types from "./mutation-types"

const mutations = {
  [types.SET_USERINFO](state, userInfo) {
    state.userInfo = userInfo
  },
  [types.SET_BREADCRUMB](state, breadcrumb) {
    state.breadcrumb = breadcrumb
  },
  [types.SET_ISSHOWSECONDMENU](state, isShowSecondMenu) {
    state.isShowSecondMenu = isShowSecondMenu
  },
}

export default mutations
